

#import <Foundation/Foundation.h>

#import "Mail.h"


@interface MailListXMLReader : NSObject {

@private        
    Mail *_currentMailObject;
    NSMutableString *_contentOfCurrentMailProperty;
	NSString *_currentColumnNumber;
	int _maxMailCount;
	int mailCount;
	NSMutableArray* mailList;
	NSMutableDictionary *localMailDict;
}

@property (nonatomic, retain) Mail *currentMailObject;
@property (nonatomic, retain) NSString *currentColumnNumber;
@property (nonatomic, retain) NSMutableString *contentOfCurrentMailProperty;
@property int mailCount;

- (NSArray*)parseXMLFileFromData:(NSData *)data parseError:(NSError **)error;

@end
